<template>
	<view>
<!-- <view class="page-suspension">
		<image class="page-suspension-bj" src="../../static/banner1.png"></image>
</view> -->
	<view class="top" style="position: absolute;">
    <view class="img" style="height: 100%;">
        <image src="https://songyuansq.oss-cn-beijing.aliyuncs.com/dt2022/banners.png" mode="" style="width: 100%; height: 100%;"></image>
    </view>
	</view>
  
	</view>

</template>

<script>
  // import wx from "weixin-js-sdk";
  import {syhb,getSher} from '@/api/api.js'
	export default {
		data() {
			return {
				hb:''
			}
		},
		onLoad() {
			// this.s_yhb()
			this.share()
		},
		methods: {
		  share() {
			  //分享微信好友
			  if (this.$wechat && this.$wechat.isWechat()) {
				this.$wechat.share();
			  }
			},
		s_yhb:function(){
				syhb({}).then(res=>{
					console.log(res)
					this.hb = res.data;
			})
		},
    }
	}
</script>

<style lang="scss">
  .page-suspension{
  	position: relative;
  	background-color: #f4f4f4;
 
  	z-index: -2;
  	// margin: -30rpx -30rpx 0 -30rpx;
  	//背景图片
  	.page-suspension-bj{
  		width: 100%;
  		position: absolute;
  		left: 25%;
  		top: 0%;
  		transform: translate(-25%,0);
  		z-index: -1;
  		
  	}
  	}
 
  
  
  
  
	.top{
    width: 100%;
    height: 100%;
    background-color: #FFF;
   .img{
     width: 100%;
     height: 100%;
   }
  }
</style>
